<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="ColorsBrush.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    
    <Style x:Key="TitlePage" TargetType="TextBlock">
        <Setter Property="Margin" Value="40,0"/>
        <Setter Property="VerticalAlignment" Value="Top" />
        <Setter Property="FontSize" Value="64" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Foreground" Value="#FFEFEFEF" />
        <Setter Property="FontFamily" Value="Portable User Interface" />
    </Style>

    <Style x:Key="SubTitlePage" TargetType="TextBlock">
        <Setter Property="FontSize" Value="40" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Foreground" Value="#FFB4ADAD" />
        <Setter Property="VerticalAlignment" Value="Top" />
    </Style>
    
    <Style x:Key="TitleHeader" TargetType="TextBlock">
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="Foreground" Value="#FFE78E21"/>
    </Style>

    <Style x:Key="SubTitleHeader" TargetType="TextBlock">
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Foreground" Value="#FF6B696B"/>
    </Style>

    <Style x:Key="Rotate90" TargetType="TextBlock">
        <Setter Property="RenderTransform">
            <Setter.Value>
                <TransformGroup>
                    <RotateTransform Angle="-90" />
                </TransformGroup>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="LegendRed" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border CornerRadius="7" BorderThickness="1" BorderBrush="#FFD6DBDE">
                        <Border.Effect>
                            <BlurEffect Radius="1"/>
                        </Border.Effect>

                        <Border CornerRadius="7" BorderThickness="1" BorderBrush="White" Background="{StaticResource RedGradientBrush}">
                            <ContentPresenter Margin="4,1,3,0" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LegendGreen" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border CornerRadius="7" BorderThickness="1" BorderBrush="#FFD6DBDE">
                        <Border.Effect>
                            <BlurEffect Radius="1"/>
                        </Border.Effect>

                        <Border CornerRadius="7" BorderThickness="1" BorderBrush="White" Background="{StaticResource GreenGradientBrush}">
                            <ContentPresenter Margin="4,1,3,0" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LegendBlue" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border CornerRadius="7" BorderThickness="1" BorderBrush="#FFD6DBDE">
                        <Border.Effect>
                            <BlurEffect Radius="1"/>
                        </Border.Effect>

                        <Border CornerRadius="7" BorderThickness="1" BorderBrush="White" Background="{StaticResource SkyBlueGradientBrush}">
                            <ContentPresenter Margin="4,1,3,0" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LegendGray" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border CornerRadius="7" BorderThickness="1" BorderBrush="#FFD6DBDE">
                        <Border.Effect>
                            <BlurEffect Radius="1"/>
                        </Border.Effect>

                        <Border CornerRadius="7" BorderThickness="1" BorderBrush="White" Background="{StaticResource SilverGradientBrush}">
                            <ContentPresenter Margin="4,1,3,0" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LegendOrange" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontFamily" Value="Arial"/>
        <Setter Property="FontWeight" Value="Bold"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border CornerRadius="7" BorderThickness="1" BorderBrush="#FFD6DBDE">
                        <Border.Effect>
                            <BlurEffect Radius="1"/>
                        </Border.Effect>

                        <Border CornerRadius="7" BorderThickness="1" BorderBrush="White" Background="{StaticResource OrangeGradientBrush2}">
                            <ContentPresenter Margin="4,1,3,0" Height="12" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>

                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Begin Tabs -->
    <Style x:Key="TabAtiva" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="Foreground" Value="#FFE78E21"/>
        <!--<Setter Property="Cursor" Value="None" />-->
        <Setter Property="Height" Value="30" />
        <Setter Property="VerticalAlignment" Value="Bottom" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderThickness="1,1,1,0" BorderBrush="#FFECC480" CornerRadius="7,7,0,0" Background="{StaticResource OrangeGradientBrush}">
                        <ContentPresenter Margin="5,0,5,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="TabInativa" TargetType="sdk:Label">
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Foreground" Value="#FF6B696B"/>
        <Setter Property="Cursor" Value="Hand" />
        <Setter Property="Height" Value="25" />
        <Setter Property="VerticalAlignment" Value="Bottom" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderThickness="1,1,1,0" BorderBrush="#FFC3C3C3" CornerRadius="7,7,0,0" Background="{StaticResource GrayGradientBrush}">
                        <ContentPresenter Margin="5,0,5,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <!-- End Tabs -->
</ResourceDictionary>
